package cn.jiahua.hospital.mapper;

import cn.jiahua.hospital.pojo.Address;
import jdk.nashorn.internal.ir.IdentNode;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


public interface AddressMapper {


    public Address getAddressById(@Param(value = "id") Integer id);

    public List<Address> getAddressListByMap(Map<String, Object> param);

    public Integer getAddressCountByMap(Map<String, Object> param);

    public Integer insertAddress(Address address);

    public Integer updateAddress(Address address);

    public Integer deleteAddressById(@Param(value = "id") Integer id);

    public Integer batchDeleteAddress(Map<String, List<String>> params);


}
